package io.gitee.zhucan123.core.infrastructure.annotation;

import java.lang.annotation.*;

/**
 * @author: zhuCan
 * @date: 2019/9/23 20:43
 * @description: 标记复制过滤的属性
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@Documented
public @interface Immutable {

  /**
   * 对象 赋值时 skip 的属性
   *
   * @return
   */
  boolean immutable() default true;
}
